package top.songxs.yygh.service.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import top.songxs.yygh.model.order.OrderInfo;
import top.songxs.yygh.model.order.PaymentInfo;

import java.util.Map;

public interface PaymentService extends IService<PaymentInfo> {
    void savePaymentInfo(OrderInfo orderInfo, Integer status);

    void paySuccess(Map<String, String> map);

    PaymentInfo getByOrderId(Long orderId);
}
